package com.wanmait.baohan.service.Impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.mapper.CapitalMapper;
import com.wanmait.baohan.pojo.Capital;
import com.wanmait.baohan.service.CapitalService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class CapitalServiceImpl implements CapitalService {


    @Resource
    CapitalMapper capitalMapper;

    @Override
    public void insert(Capital object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(Capital object) {

    }

    @Override
    public Capital findById(Integer id) {
        return null;
    }

    @Override
    public List<Capital> findAll() {

        System.out.println(111);
        capitalMapper.selectList();
        return null;
    }

    @Override
    public List<Capital> findAll(Capital object) {
        return null;
    }

    @Override
    public PageInfo<Capital> findPage(int pageNum) {
        //capitalMapper.selectList();
        return null;
    }

    @Override
    public PageInfo<Capital> findPage() {
        return null;
    }

    @Override
    public PageInfo<Capital> findPage(int pageNum, Capital object) {
        return null;
    }

    @Override
    public PageInfo<Capital> findPage(Capital object) {
        return null;
    }
}
